package com.app.service;


import com.app.model.CustomerModel;
import com.app.model.LiveCompanyModel;
import com.app.model.LiveCompanyPostModel;
import com.app.model.LiveRecordModel;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tencentcloudapi.common.exception.TencentCloudSDKException;

import java.util.List;

/**
 * @Description: 直播
 * @Author: N
 * @Date: 2022年11月24日10点26分
 */
public interface LiveService {

    int liveRecordInsert(LiveRecordModel model);

   int liveCompanyInsert(LiveCompanyModel model);

   int liveCompanyPostInsert(LiveCompanyPostModel model);

   Object liveEnd(String roomNo) throws TencentCloudSDKException;

   Object getLiveCoverUrlList(String roomNos);

   Object getLiveAllList(int type,int page,int limit);

   Page<LiveRecordModel> getModelAll(int page,int limit);

   Object getLivePostList(String roomNo);

   Object getEndLive(String roomNo);

   void update (LiveRecordModel model);

   LiveRecordModel getModelByRoomNo(String roomNo);

   List<LiveCompanyModel> getLiveCompanyListByRoomNo(String roomNo);//根据房间号查询岗位

   List<LiveCompanyPostModel> getLiveCompanyPostListByCid(Integer cid);//查询直播企业岗位

}
